package com.itec.learn.java.design.observer.event;

/**
 * @author chenyiqun
 */
public class SysStateListener implements StateListener {

    @Override
    public void stateChanged(StateEvent event) {
        System.out.println("state 被改变，"+event.oldState+"  ->  "+ event.newState);
    }
}
